package com.fruits.login.dao;

import com.fruits.login.model.ConfigResourceInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author cyc
 */
@Mapper
public interface ConfigResourceDAO {

    /**
     * 根据sysId and version查找资源配置信息
     * @param configResourceInfo sysId:平台id;version:版本号
     * @return
     */
    @Select("select * from config_resource where sysId = #{sysId} and version = #{version}")
    ConfigResourceInfo getResourceInfo(ConfigResourceInfo configResourceInfo);
}
